package cn.wolfcode.luowowo.hotel.service.impl;

import cn.wolfcode.luowowo.hotel.domain.HotelDest;
import cn.wolfcode.luowowo.hotel.mapper.HotelDestMapper;
import cn.wolfcode.luowowo.hotel.service.IHotelDestService;
import com.alibaba.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

@Service
public class HotelDestServiceImpl implements IHotelDestService {
    @Autowired
    private HotelDestMapper hotelMapper;

    public List<HotelDest> selectAll() {
        return hotelMapper.selectAll();
    }

    public HotelDest selectByXAndY(Long id) {
        return hotelMapper.selectByXAndY(id);
    }
}
